/**
 * @Author: cest
 * @Date: 2022-08-03 08:17:27
 * @LastEditTime: 2022-08-05 08:39:57
 * @LastEditors: cest
 * @FilePath: /vue3-todo-list/src/store/index.js
 * @Description: 编辑描述内容
 */

import { createStore, createLogger } from 'vuex'
import todo from './modules/todo';

const debug = process.env.NODE_ENV !== 'production'
export default createStore({
  state: {
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    todo
  },
  strict: debug,
  plugins: debug ? [createLogger()] : []
});
